package com.muyu.danmo.domain;


import com.baomidou.mybatisplus.annotation.TableField;
import com.muyu.common.core.annotation.Excel;
import com.muyu.common.core.web.domain.BaseEntity;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.io.Serializable;

/**
 * 个人信息视频集对象 danmo_information_video
 * 
 * @author yangle
 * @date 2024-12-18
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class DanmoInformationVideo implements Serializable
{
    private static final long serialVersionUID = 1L;

    /** 视频主键id */
    private Long id;

    /** 会员信息id */
    @Excel(name = "会员信息id")
    private Long informationId;

    /** 用户id */
    @Excel(name = "用户id")
    private Long userId;

    /** 视频地址 */
    @Excel(name = "视频地址")
    private String video;
    /**
     * 视频名称
     */
    private String name;
    /** 协会选择 */
    @Excel(name = "协会选择")
    @TableField(exist = false)
    private Long association;

    /** 艺术家类型 */
    @Excel(name = "艺术家类型")
    @TableField(exist = false)
    private Long associationType;

    /**
     * 视频ID
     * @return
     */
    @Excel(name = "视频ID")
    private String videoId;

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("informationId", getInformationId())
            .append("userId", getUserId())
            .append("video", getVideo())
            .append("name", getName())
            .append("videoId", getVideoId())
            .toString();
    }
}
